﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/MasterPageC.master"
    AutoEventWireup="true" CodeFile="Departments.aspx.cs" Inherits="User_Departments" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphLinksC" runat="Server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="cphBodyC" runat="Server">
    部门列表<br />
    <asp:ListBox ID="ListBox1" runat="server" DataTextField="deptName" DataValueField="deptID"
        Width="234px" OnSelectedIndexChanged="ListBox1_SelectedIndexChanged"></asp:ListBox>
    <asp:Button runat="server" ID="BtnDel" Text="删除" OnClick="BtnDel_Click" CssClass="btn"
        Width="66px" />
    <br />
    <hr />
    <br />
    ID:<asp:TextBox ID="TBdeptID" runat="server"></asp:TextBox>
    <br />
    部门<asp:TextBox ID="TBName" runat="server" MaxLength="50"></asp:TextBox><asp:RequiredFieldValidator
        runat="server" ControlToValidate="TBName" ErrorMessage="*必填"></asp:RequiredFieldValidator>
    <br />
    上级ID:<asp:TextBox ID="TBParentID" runat="server"></asp:TextBox>
    <br />
    职位描述：
    <asp:TextBox ID="TBDespt" runat="server" MaxLength="250"></asp:TextBox>
    <br />
    <asp:Button runat="server" ID="BtnAdd" Text="添加" OnClick="BtnAdd_Click" CssClass="btn"
        Width="70px" />
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <br />
</asp:Content>
